﻿


namespace SvCore;

public static class SvInfo
{
    // 启动配置
    public static SvOptions Options = new();
    // 服务器类型
    public static EServerType ServerType = EServerType.游戏;
    // 服务器配置ID
    public static int ConfigId { get { return PublicConst.ServerConfigId; } set { PublicConst.ServerConfigId = value; } }
	// 服务器配置
	public static ConfigServer Cfg = new();
	// 当前语言版本
	public static int ServerPort => Cfg.ServerPort;
	// 当前语言版本
	public static ELanguage Language => (ELanguage)Cfg.Language;
}
